package tgc.edu.ljc.bookmanage.repository;

import java.util.List;

import org.springframework.stereotype.Repository;

import tgc.edu.ljc.bookmanage.custom.CommonRepository;
import tgc.edu.ljc.bookmanage.entity.TbDept;
@Repository
public interface TbDeptRepository extends CommonRepository<TbDept, Integer>{

	public List<TbDept> findByParentIsNull();

	public List<TbDept> findByParentId(Integer id);

}
